/*
 *  Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.entity.yth.finance;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 财务管理-年度债务指标录入记录表实体类
 *
 * @author BladeX
 * @since 2023-02-08
 */
@Data
@TableName("finance_yearly_debt_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "YearlyDebtDetail对象", description = "财务管理-年度债务指标录入记录表")
public class YearlyDebtDetail extends YthBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 业务关联id
     */
    @ApiModelProperty(value = "业务关联id")
    private Long debtId;
    /**
     * 本级指标名称：（1：本级指标，2：合并指标）
     */
    @ApiModelProperty(value = "本级指标名称：（1：本级指标，2：合并指标）")
    private Integer type;
    /**
     * 本级指标名称：（1：资产负债率，2：已获利息倍数，3：带息负债比率:4：现金流动负债比率）
     */
    @ApiModelProperty(value = "本级指标名称：（1：资产负债率，2：已获利息倍数，3：带息负债比率:4：现金流动负债比率）")
    private Integer indexType;
    /**
     * 预警线（%）
     */
    @ApiModelProperty(value = "预警线（%）")
    private BigDecimal warnLine;
    /**
     * 监管线
     */
    @ApiModelProperty(value = "监管线")
    private BigDecimal superviseLine;
    /**
     * 近三年平均值（%）
     */
    @ApiModelProperty(value = "近三年平均值（%）")
    private BigDecimal avgValue;


}
